package Day_04;
import java.util.Scanner;
public class StandardPracticeDemo_CommandBySwitch {
    public static void main(String[] args) {
        // CommandBySwitch
        Scanner scan = new Scanner(System.in);
        System.out.println("Please Enter The Operate Number: 1.Withdraw 2.Save 3.Select 4.Cancel");
        int num = scan.nextInt();

        switch(num){
            case 1:
                System.out.println("Withdrawing...");
                break;
            case 2:
                System.out.println("Saving...");
                break;
            case 3:
                System.out.println("Selecting...");
                break;
            case 4:
                System.out.println("Your Card has been canceled.");
                break;
            default:
                System.out.println("The Input is Wrong.");
        }
    }
}
